import _http from '@/utils/http'

export default {
    settleImportList(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/phone/settle/import-list',
            apiName: '导入历列表',
        }, params, loading, headers)
    },

    settleImportFile(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/phone/settle/import-file',
            apiName: '导入文件',
        }, params, loading, headers)
    },

    settleImportResult(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/phone/settle/import-result',
            apiName: '导入文件查询',
        }, params, loading, headers)
    },

    settleImportSubmit(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/phone/settle/import-submit',
            apiName: '导入文件提交',
        }, params, loading, headers)
    },

    settleImportTemplete(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/phone/settle/import-templete',
            apiName: '导入文件模板',
        }, params, loading, headers)
    },

    settleImportDetail(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/phone/settle/import-detail',
            apiName: '导入文件详情',
        }, params, loading, headers)
    },

    settleImportDown(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/phone/settle/down-source',
            apiName: '导入文件下载',
        }, params, loading, headers)
    },

    settleImportDetailDown(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/phone/settle/import-detail-down',
            apiName: '导入文件详情下载',
        }, params, loading, headers)
    },

    shopList(params, loading, headers) {
        return _http('post', {
            url: '/ums/manage/shop/choose/list',
            apiName: '获取代理商列表',
        }, params, loading, headers)
    },
}
